SELECT  
        INDEX_NAME = i.name, 
        INDEX_COL('$Datatable', indid, 1) 
    FROM 
        sysindexes i 
    INNER JOIN 
        sysfilegroups g 
    ON 
        i.groupid = g.groupid 
    WHERE 
		INDEXPROPERTY(i.id, i.name, 'IsClustered')=1 
		and i.id=object_id('$Datatable')